package com.oig.sys.file.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema
@Data
public class BusFileConfigVo {

    @Schema(description = "主键id")
    private Integer id;
//    @Schema(description = "应用id")
//    private Integer systemId;
//    @Schema(description = "应用名称")
//    private String systemName;

    @Schema(description = "主业务类型,对应枚举 BusinessType 01-代理 02-仓储 03-运输")
    private String businessType;

    @Schema(description = "具体子单据类型,对应枚举 RelationType")
    private String relationType;

    @Schema(description = "存储桶")
    private String bucketName;

    @Schema(description = "文件大小限制,不填不限制")
    private String fileSize;

    @Schema(description = "文件类型限制,多种类型逗号“,”分隔,不填不限制")
    private String fileTypes;

    @Schema(description = "通用状态 01-草拟 02-待审核 03-不通过 04-正常 05-删除")
    private String status;

    @Schema(description = "创建人")
    private String createUserName;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @Schema(description = "最后更新人")
    private String lastUpdateName;
    @Schema(description = "最后更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastUpdateTime;

    @Schema(description = "复核人id")
    private Integer checkId;
    @Schema(description = "复核人")
    private String checkName;
    @Schema(description = "复核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTime;
    @Schema(description = "复核备注")
    private String checkRemark;
}
